'''
Created on 13.12.2012

@author: fre
'''
from game.player.alpha_beta_player.alpha_beta_framework.moveordering.MostNeighboursMoveOrdering import MostNeighboursMoveOrdering


class MoveOrdering(object):

    def order(self, field, actions, color):
        mcmp = MostNeighboursMoveOrdering(field, color)
        actions.sort(key=mcmp.getVal)
        
